/* @flow weak */

import React from 'react';
import {
  View,
  Text,
  StyleSheet,
  Image,
} from 'react-native';

const AppMine = ({navigation,screenProps}) => (
  <View style={styles.container}>
    <Text>I'm AppMine</Text>
  </View>
);
AppMine.navigationOptions = ({navigation,screenProps}) => {
  const {navigate,state} = navigation;
  var title = state.params && state.params.title;

  return {
    headerTitle: '首页',
    header: <View></View>,

    //tabbar
    tabBarIcon : ({ tintColor }) => (
      <Image
        // source={{uri:reacticon}}

        source={require('../img/tabicon/shequXiong1.png')}
        style={[styles.icon]}
      />
    ),
    // tabBarLabel: 'First',



  }
}

export default AppMine;

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  icon:{
    width:26,
    height:26,
  },
});
